package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysCancelOrderFee;
import com.ruoyi.system.domain.SysPreferential;
import com.ruoyi.system.domain.parm.SysCancelOrderFeeParm;
import org.apache.ibatis.annotations.Param;

/**
 * cancel_order_fee取消订单手续费Mapper接口
 * 
 * @author ruoyi
 * @date 2024-04-05
 */
public interface SysCancelOrderFeeMapper 
{
    /**
     * 查询cancel_order_fee取消订单手续费
     * 
     * @param id cancel_order_fee取消订单手续费主键
     * @return cancel_order_fee取消订单手续费
     */
    public SysCancelOrderFee selectSysCancelOrderFeeById(String id);
    public List<SysCancelOrderFee> selectSysCancelOrderFeeByBusinessId(String businessId);

    /**
     * 查询cancel_order_fee取消订单手续费列表
     * 
     * @param sysCancelOrderFee cancel_order_fee取消订单手续费
     * @return cancel_order_fee取消订单手续费集合
     */
    public List<SysCancelOrderFee> selectSysCancelOrderFeeList(SysCancelOrderFee sysCancelOrderFee);

    /**
     * 新增cancel_order_fee取消订单手续费
     * 
     * @param sysCancelOrderFee cancel_order_fee取消订单手续费
     * @return 结果
     */
    public int insertSysCancelOrderFee(SysCancelOrderFee sysCancelOrderFee);

    /**
     * 修改cancel_order_fee取消订单手续费
     * 
     * @param sysCancelOrderFee cancel_order_fee取消订单手续费
     * @return 结果
     */
    public int updateSysCancelOrderFee(SysCancelOrderFee sysCancelOrderFee);

    /**
     * 删除cancel_order_fee取消订单手续费
     * 
     * @param id cancel_order_fee取消订单手续费主键
     * @return 结果
     */
    public int deleteSysCancelOrderFeeById(String id);

    /**
     * 批量删除cancel_order_fee取消订单手续费
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysCancelOrderFeeByIds(@Param("ids") String[] ids,@Param("businessId") String businessId);

    public List<SysCancelOrderFee> selectSysCancelOrderFeeByappointmentBefor(@Param("appointmentBefor") Integer appointmentBefor,@Param("businessId") String businessId);
    public List<SysCancelOrderFee> selectSysCancelOrderFeeByappointmentAfter(@Param("appointmentAfter") Integer appointmentAfter,@Param("businessId") String businessId);



}
